<?php

/**
 * @author Lam Vu Nhat
 * @copyright 2011
 */
class Muare_Storage_Listener
{
    /**
     * Listener Load Class Model
     */
	public static function loadClassModel($class, array &$extend)
	{
		if ($class == 'XenForo_Model_Avatar'
            && XenForo_Application::get('options')->MRStorageAvatarEnable)
		{// Avatar storage
			$extend[] = 'Muare_Storage_Model_Avatar';
		}
	}
}
